import Main from '_c/main';

/**
 * 公共页面模块 第三级页
 * 聪修改 新增独立页面，非左侧nav栏内部的页面
 * 控制谁高亮，该方法适用于，二级菜单以下的项目：
 * meta{
 *  openedNames: ['bigService']//哪个一级菜单展开？
 *  navActive:'patentDo'//哪个菜单高亮？
 * }
 * **/
const childrenPages=[{
  path: '/commonPages',
  name: 'commonPages',
  meta: {
    oneNav:false,//这个菜单永远隐藏
    title: '公共模块',
    hideInMenu: true// 栏位隐藏了，面包屑已经没用，hideInBread不认
  },
  component: Main,
  children: [
    {
      path: '/patentDoAllIn',
      name: 'patentDoAllIn',
      meta: {
        icon: '',
        title: '专利打包服务',
        title: route => `${route.query.sTitle}`,
        openedNames: ['bigService'],
        navActive: 'patentDo',
        notCache: false,
      },
      component: () => import('@$@/_patentDo/patentDoAllIn')
    },
    {
      path: '/patentDoSYXX',
      name: 'patentDoSYXX',
      meta: {
        icon: '',
        title: '实用新型专利提交',
        openedNames: ['bigService'],
        navActive: 'patentDo',
        notCache: false,
      },
      component: () => import('@$@/_patentDo/patentDoSYXX')
    },
    {
      path: '/patentDoWGZL',
      name: 'patentDoWGZL',
      meta: {
        icon: '',
        title: '外观专利提交',
        openedNames: ['bigService'],
        navActive: 'patentDo',
        notCache: false,
      },
      component: () => import('@$@/_patentDo/patentDoWGZL')
    },
    {
      path: '/patentDoFMZL',
      name: 'patentDoFMZL',
      meta: {
        icon: '',
        title: '发明专利提交',
        openedNames: ['bigService'],
        navActive: 'patentDo',
        notCache: false,//不缓存:否   就是缓存
      },
      component: () => import('@$@/_patentDo/patentDoFMZL')
    },
    {
      path: '/trademarkDoZC',
      name: 'trademarkDoZC',
      meta: {
        icon: '',
        title: '商标注册',
        openedNames: ['bigService'],
        navActive: 'trademarkDo',
        notCache: false,
      },
      component: () => import('@$@/_trademarkDo/trademarkDoZC')
    },
    {
      path: '/trademarkDoDB',
      name: 'trademarkDoDB',
      meta: {
        icon: '',
        title: '担保注册',
        openedNames: ['bigService'],
        navActive: 'trademarkDo',
        notCache: false,
      },
      component: () => import('@$@/_trademarkDo/trademarkDoDB')
    },
    {
      path: '/copyrightDoMS',
      name: 'copyrightDoMS',
      meta: {
        icon: '',
        title: '美术作品著作权登记',
        openedNames: ['bigService'],
        navActive: 'copyrightDo',
        notCache: false,
      },
      component: () => import('@$@/_copyrightDo/copyrightDoMS')
    },
    {
      path: '/copyrightDoRJ',
      name: 'copyrightDoRJ',
      meta: {
        icon: '',
        title: '软件著作权登记',
        openedNames: ['bigService'],
        navActive: 'copyrightDo',
        notCache: false,
      },
      component: () => import('@$@/_copyrightDo/copyrightDoRJ')
    },
    {
      path: '/Trademarklist',
      name: 'Trademarklist',
      meta: {
        icon: '',
        title: '商标检索结果',
        openedNames: ['patentGz'],
        navActive: 'searchTmPt',
        notCache: false,
      },
      component: () => import('@$@/_brandR/Trademarklist')
    },
    {
      path: '/Trademarklists',
      name: 'Trademarklists',
      meta: {
        icon: '',
        title: '商标搜索结果',
        openedNames: ['patentGz'],
        navActive: 'searchTmPt',
        notCache: false,
      },
      component: () => import('@$@/_brandR/Trademarklists')
    },
    {
      path: '/TrademarklistsImg',
      name: 'TrademarklistsImg',
      meta: {
        icon: '',
        title: '商标搜索结果',
        openedNames: ['patentGz'],
        navActive: 'searchTmPt',
        notCache: false,
      },
      component: () => import('@$@/_brandR/TrademarklistsImg')
    },
    {
      path: '/patentList',
      name: 'patentList',
      meta: {
        icon: '',
        title: '专利搜索结果',
        notCache: false,
        openedNames: ['patentGz'],
        navActive: 'searchTmPt',
      },
      component: () => import('@$@/_patent/patentList')
    },
    {
      path: '/patentInfo',
      name: 'patentInfo',
      meta: {
        icon: '',
        title: '专利详情',
        notCache: true,
        openedNames: ['patentGz'],
        navActive: 'searchTmPt',
      },
      component: () => import('@$@/_patent/patentInfo')
    },
    {
      path: '/TrademarkInfo',
      name: 'TrademarkInfo',
      meta: {
        icon: '',
        title: '商标详情',
        openedNames: ['patentGz'],
        navActive: 'searchTmPt',
        notCache: true,
      },
      component: () => import('@$@/_brandR/TrademarkInfo')
    },
    {
      path: '/ListWarnInfo1',
      name: 'ListWarnInfo1',
      meta: {
        icon: '',
        title: '待缴申请费',
        notCache: true,
        openedNames: ['homeA'],
        navActive: 'home'
      },
      component: () => import('@$@/_warnXT/ListWarnInfo1')
    },
    {
      path: '/ListWarnInfo2',
      name: 'ListWarnInfo2',
      meta: {
        icon: '',
        title: '待补正',
        notCache: true,
        openedNames: ['homeA'],
        navActive: 'home'
      },
      component: () => import('@$@/_warnXT/ListWarnInfo2')
    },
    {
      path: '/ListWarnInfo3',
      name: 'ListWarnInfo3',
      meta: {
        icon: '',
        title: '审查意见待答复',
        notCache: true,
        openedNames: ['homeA'],
        navActive: 'home'
      },
      component: () => import('@$@/_warnXT/ListWarnInfo3')
    },
    {
      path: '/ListWarnInfo4',
      name: 'ListWarnInfo4',
      meta: {
        icon: '',
        title: '待办理登记',
        notCache: true,
        openedNames: ['homeA'],
        navActive: 'home'
      },
      component: () => import('@$@/_warnXT/ListWarnInfo4')
    },
    {
      path: '/ListWarnInfo5',
      name: 'ListWarnInfo5',
      meta: {
        icon: '',
        title: '续展',
        notCache: true,
        openedNames: ['homeA'],
        navActive: 'home'
      },
      component: () => import('@$@/_warnXT/ListWarnInfo5')
    },
    {
      path: '/ListWarnInfo6',
      name: 'ListWarnInfo6',
      meta: {
        icon: '',
        title: '异议',
        notCache: true,
        openedNames: ['homeA'],
        navActive: 'home'
      },
      component: () => import('@$@/_warnXT/ListWarnInfo6')
    },
    {
      path: '/ListWarnInfo7',
      name: 'ListWarnInfo7',
      meta: {
        icon: '',
        title: '状态',
        notCache: true,
        openedNames: ['homeA'],
        navActive: 'home'
      },
      component: () => import('@$@/_warnXT/ListWarnInfo7')
    },
    {
      path: '/ListWarnInfo8',
      name: 'ListWarnInfo8',
      meta: {
        icon: '',
        title: '驳回',
        notCache: true,
        openedNames: ['homeA'],
        navActive: 'home'
      },
      component: () => import('@$@/_warnXT/ListWarnInfo8')
    },
    {
      path: '/ListWarnInfo9',
      name: 'ListWarnInfo9',
      meta: {
        icon: '',
        title: '待缴年费',
        notCache: true,
        openedNames: ['homeA'],
        navActive: 'home'
      },
      component: () => import('@$@/_warnXT/ListWarnInfo9')
    },
    {
      path: '/pW_List_warn',
      name: 'pW_List_warn',
      meta: {
        icon: '',
        title: '专利撰写',
        notCache: true,
        openedNames: ['homeA'],
        navActive: 'home'
      },
      component: () => import('@$@/_currentView/common/pW_List_warn')
    },
    {
      path: '/patentDetails',
      name: 'patentDetails',
      meta: {
        notCache: true,
        icon: '',
        title: '专利订单详情',
        openedNames: ['bigService'],
        navActive: 'patentDo'
      },
      component: () => import('@$@/_orderInfo/patentDetails')
    },
    {
      path: '/patentThird',
      name: 'patentThird',
      meta: {
        notCache: true,
        icon: '',
        title: '专利订单详情',
        openedNames: ['bigService'],
        navActive: 'patentDo'
      },
      component: () => import('@$@/_orderInfo/patentThird')
    },
    {
      path: '/tmDetails',
      name: 'tmDetails',
      meta: {
        notCache: true,
        icon: '',
        title: '商标订单详情',
        openedNames: ['bigService'],
        navActive: 'trademarkDo'
      },
      component: () => import('@$@/_orderInfo/tmDetails')
    },
    {
      path: '/msDetails',
      name: 'msDetails',
      meta: {
        notCache: true,
        icon: '',
        title: '美术作品著作订单详情',
        openedNames: ['bigService'],
        navActive: 'copyrightDo'
      },
      component: () => import('@$@/_orderInfo/msDetails')
    },
    {
      path: '/rjDetails',
      name: 'rjDetails',
      meta: {
        notCache: true,
        icon: '',
        title: '软件著作订单详情',
        openedNames: ['bigService'],
        navActive: 'copyrightDo'
      },
      component: () => import('@$@/_orderInfo/rjDetails')
    },

    {
      path: '/clueInfo',
      name: 'clueInfo',
      meta: {
        icon: '',
        title: '商标线索详情',
        openedNames: ['bigData'],
        navActive: 'clientResources',
        notCache: true,
      },
      component: () => import('@$@/_clueTK/clueInfo')
    },
    {
      path: '/pClueInfo',
      name: 'pClueInfo',
      meta: {
        icon: '',
        title: '专利线索详情',
        openedNames: ['bigData'],
        navActive: 'patentRes',
        notCache: true,
      },
      component: () => import('@$@/_clueTK/pClueInfo')
    },
    {
      path: '/earnings',
      name: 'earnings',
      meta: {
        icon: '',
        title: '我的收益',
        notCache: true,
        openedNames: ['accountBig'],
        navActive: 'accountInfo'
      },
      component: () => import('@$@/_earnings/earnings')
    },
    {
      path: '/moneyRemainCat',
      name: 'moneyRemainCat',
      meta: {
        icon: '',
        title: '猫币明细',
        notCache: true,
        openedNames: ['accountBig'],
        navActive: 'accountInfo'
      },
      component: () => import('@$@/moneyRemainCat')
    },
    {
      path: '/moneyList',
      name: 'moneyList',
      meta: {
        icon: '',
        title: '余额明细',
        notCache: true,
        openedNames: ['accountBig'],
        navActive: 'accountInfo'
      },
      component: () => import('@$@/moneyList')
    },
    {
      path: '/invoiceTo',
      name: 'invoiceTo',
      meta: {
        icon: '',
        title: '开票列表',
        notCache: true,
        openedNames: ['accountBig'],
        navActive: 'accountInfo'
      },
      component: () => import('@$@/invoiceTo')
    },
    {
      path: '/team',
      name: 'team',
      meta: {
        title: '我的团队',
        notCache: true,
        openedNames: ['accountBig'],
        navActive: 'accountInfo'
      },
      component: () => import('@$@/team')
    },
    {
      path: '/brandDo',
      name: 'brandDo',
      meta: {
        title: '数据导入',
        hideInMenu:false,
        icon: '',
        notCache: true,
      },
      component: () => import('@$@/brandDo')
    },
    {
      path: '/patentDoInfo',
      name: 'patentDoInfo',
      meta: {
        icon: '',
        title: '专利服务介绍',
        openedNames: ['bigService'],
        navActive: 'patentDo',
        notCache: false,
      },
      component: () => import('@$@/_patentDo/patentDoInfo')
    },
    {
      path: '/trademarkDoInfo',
      name: 'trademarkDoInfo',
      meta: {
        icon: '',
        title: '商标服务介绍',
        openedNames: ['bigService'],
        navActive: 'trademarkDo',
        notCache: false,
      },
      component: () => import('@$@/_trademarkDo/trademarkDoInfo')
    },
    {
      path: '/copyrightDoInfo',
      name: 'copyrightDoInfo',
      meta: {
        icon: '',
        title: '版权服务介绍',
        openedNames: ['bigService'],
        navActive: 'copyrightDo',
        notCache: false,
      },
      component: () => import('@$@/_copyrightDo/copyrightDoInfo')
    },
    {
      path: '/pTmessages',
      name: 'pTmessages',
      meta: {
        title: '消息列表',
        hideInMenu:false,
        icon: '',
        notCache: true,
      },
      component: () => import('@$@/pTmessages')
    },
  ]
}];

export default childrenPages; 
